﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace MaLu.Data
{
    public static class DataExtension
    {
        public static void AddRange(this IDataParameterCollection parameters, params IDataParameter[] paras)
        {
            if (paras != null)
            {
                foreach (IDataParameter p in paras)
                {
                    parameters.Add(p);
                }
            }
        }
    }
}
